package com.ks.dto;

import java.io.Serializable;

/**
 * 包含状态码的dto
 * 
 * @author jxzhang on 2017年2月17日
 * @Verdion 1.0 版本
 */
public class ResponseDto implements Serializable {
	private static final long serialVersionUID = -1793934472037929444L;
	private int code;
	private Object body;

	public ResponseDto() {
		super();
	}

	public ResponseDto(int code, Object body) {
		super();
		this.code = code;
		this.body = body;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public Object getBody() {
		return body;
	}

	public void setBody(Object body) {
		this.body = body;
	}

}
